<template>
  <div>
    <ul>
      <li v-for="item in list" :key="item.id">
        {{item.id}}--{{item.name}}
        <slot :id="item.id">我是一个占位符</slot>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  props: {
    list: Array
  }
}
</script>

<style></style>
